<!--
/*
*All rights reserved: Json.
*Links:http://www.liyaoquan.cn.
*Links:http://imarkchina.cn.
*Links:http://www.imarkchina.cn.
*/
-->
{A('public/tools')}
<style type="text/css">
  .testButton { color:rgb(255, 255, 255);font-size:14px;padding-top:8px;padding-bottom:8px;padding-left:20px;padding-right:20px;border-width:2px;border-color:rgb(227, 204, 145);border-style:outset;border-radius:27px;background-color:rgb(120, 195, 0);CURSOR: help;}.testButton:hover{color:#ffffff;background-color:#78c300;border-color:#c5e591;}.centent{display: block;margin: 50px 200px;}

</style>
<script type="text/javascript" src="{$__PUBLIC__}Js/back.js"></script>
<div class="main-wrap">
	<div class="crumb-wrap">
		<div class="crumb-list">
			<span class="crumb-name">
				<span class="crumb-name">
					清理缓存（<font color="red">提示：缓存被清理后，不存在缓存文件与没权限删除缓存文件情况下会出现清理失败.</font>）
				</span>
			</span>
		</div>
	</div>
	<div class="result-wrap">
    <div class="centent">
     <a onclick="index();" class="testButton">首页缓存</a>
     <a onclick="list();" class="testButton">列表缓存</a>
     <a onclick="post();" class="testButton">日志缓存</a>
     <a onclick="page();" class="testButton">专题缓存</a>
     <a onclick="log();" class="testButton">记录缓存</a>
      <a onclick="pass();" class="testButton">编译缓存</a>
   </div>
 </div>
</div>
<script type="text/javascript">
  function index(){
    if(confirm("确定要清理首页缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'index'))}";
    }else{
      return false;
    }
  }
  function list(){
    if(confirm("确定要清理列表缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'list'))}";
    }else{
      return false;
    }
  }
  function post(){
    if(confirm("确定要清理日志缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'post'))}";
    }else{
      return false;
    }
  }
  function page(){
    if(confirm("确定要清理专题缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'page'))}";
    }else{
      return false;
    }
  }
  function log(){
    if(confirm("确定要清理记录缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'log'))}";
    }else{
      return false;
    }
  }
  function pass(){
    if(confirm("确定要清理编译缓存吗？")){
      showdiv("服务器后台处理中<br/>请稍候........ <br/><img src=\"{$__PUBLIC__}Images/loading.gif\" />");
      window.location.href = "{U('index',array('mark'=>'pass'))}";
    }else{
      return false;
    }
  }
</script>
</body>
</html>